

package org.smallbun.fast.manage.notify.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.smallbun.fast.manage.notify.entity.SysNotifyEntity;
import org.smallbun.fast.manage.user.entity.SysUserEntity;
import org.smallbun.framework.annotation.DictValue;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 通知公告VO对象
 *
 * @author SanLi
 * Created by 2689170096@qq.com on 2019/2/21 22:33
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysNotifyVO extends SysNotifyEntity {
    /**
     * 接收人名称
     */
    private String  receiverName;
    /**
     * 接收人，接收前台传递值使用
     */
    @NotBlank(message = "接收人不能为空")
    private String receivers;
    /**
     * 类型
     */
    @DictValue(typeCode = "NOTIFY_GENRE", valueField = "notifyGenre")
    private String notifyGenreName;

    /**
     * 状态
     */
    @DictValue(typeCode = "NOTIFY_STATUS", valueField = "notifyStatus")
    private String notifyStatusName;
}
